package us.kg.kotoriforest.mybatis.mapper;

import org.apache.ibatis.annotations.MapKey;
import us.kg.kotoriforest.mybatis.pojo.User;

import java.util.List;
import java.util.Map;

/**
 *
 * @author Kotori rotroutine@163.com
 * @since 2025/1/12
 */
public interface SelectMapper {
    int getCount();

    Map<String, Object> selectUserByIdReturnMap(int id);

    List<Map<String, Object>> getAllUsersReturnListMap();

    @MapKey("id")
    Map<Integer, Map<String, Object>> getAllUsersReturnMapMap();

    @MapKey("id")
    Map<Integer, User> getAllUsersReturnMapUser();
}
